package com.spzx.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spzx.product.domain.Brand;

import java.util.List;

public interface BrandMapper extends BaseMapper<Brand> {

    List<Brand> selectRoleList(Brand brand);

    Brand checkBrandNameUnique(String name);

    int insertBrand(Brand brand);

    int updateBrand(Brand brand);

    int removeBrandsByIds(List<Long> brandIds);
}
